home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / graphic / pbmpl91d.zip / PBMPLUS / MAN / PNMTOTIF.MAN < prev    next >
Text File  |  1993-01-08  |  3KB  |  70 lines

  1.  
  2.  
  3. pnmtotiff(1)               Unix Programmer's Manual               pnmtotiff(1)
  4.  
  5.  
  6. NAME
  7.      pnmtotiff - convert a a portable anymap into a TIFF file
  8.  
  9. SYNOPSIS
  10.      pnmtotiff [-none|-packbits| -lzw|-g3|-g4] [-2d] [-fill] [-predictor n] [-
  11.                                                                          -
  12.      msb2lsb|-lsb2msb] [-rowsperstrip n] [pnmfile]
  13.                                       -   -------
  14.  
  15. DESCRIPTION
  16.      Reads a portable anymap as input.  Produces a TIFF file as output.
  17.  
  18. OPTIONS
  19.  
  20.      By default, pnmtotiff creates a TIFF file with LZW compression.  This  is
  21.                  ---------
  22.      your  best  bet  most of the time.  However, some TIFF readers can't deal
  23.      with it.  If you want to try another compression scheme or tweak some  of
  24.      the  other  even more obscure output options, there are a number of flags
  25.      to play with.
  26.  
  27.      The -none, -packbits, -lzw, -g3, and -g4 options are used to override the
  28.      default  and set the compression scheme used in creating the output file.
  29.      The CCITT Group 3 and Group 4 compression algorithms  can  only  be  used
  30.      with  bilevel  data.   The -2d and -fill options are meaningful only with
  31.      Group 3 compression:  -2d requests 2-dimensional  encoding,  while  -fill
  32.      requests  that  each  encoded  scanline be zero-filled to a byte boundry.
  33.      The  -predictor  option  is  only  meaningful  with  LZW  compression:  a
  34.      predictor  value of 2 causes each scanline of the output image to undergo
  35.      horizontal differencing before it is encoded; a value of  1  forces  each
  36.      scanline to be encoded without differencing.
  37.  
  38.      By default, pnmtotiff creates a TIFF file  with  msb-to-lsb  fill  order.
  39.                  ---------
  40.      The  -msb2lsb  and  -lsb2msb options are used to override the default and
  41.      set the fill order used in creating the file.
  42.  
  43.      The  -rowsperstrip  option  can  be  used  to  set  the  number  of  rows
  44.      (scanlines)  in  each  strip of data in the output file.  By default, the
  45.      output file has the number of rows per strip set to  a  value  that  will
  46.      ensure each strip is no more than 8 kilobytes long.
  47.  
  48. BUGS
  49.      This program is not self-contained.  To use it you must  fetch  the  TIFF
  50.      Software  package  listed in the OTHER.SYSTEMS file and configure PBMPLUS
  51.      to  use  libtiff.   See  PBMPLUS's   Makefile   for   details   on   this
  52.      configuration.
  53.  
  54. SEE ALSO
  55.      tifftopnm(1), pnm(5)
  56.  
  57. AUTHOR
  58.      Derived by Jef Poskanzer from ras2tiff.c, which is Copyright (c) 1990  by
  59.      Sun     Microsystems,     Inc.      Author:     Patrick    J.    Naughton
  60.      (naughton@wind.sun.com).
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.                                13 January 1991                               1
  69.  
  70.